<?php
//Criado por Bruno Maciel

try{
	

	try
	{
		
		require_once( "define.php" );
		
		require_once( PATH_APPLICATION
					._SEPARATOR_SO
					.'exception.php' );
					
		require_once( PATH_APPLICATION
					._SEPARATOR_SO
					.'language'
					._SEPARATOR_SO
					.'pt-br'
					._SEPARATOR_SO
					.'application.php' );
	
		require_once( PATH_APPLICATION
					._SEPARATOR_SO
					.'configuration.class.php' );
	
		require_once( PATH_FRAMEWORK
					._SEPARATOR_SO
					.'framework.class.php' );
							
		require_once( PATH_APPLICATION
					._SEPARATOR_SO
					.'application.class.php' );
		
		
								
		application::instance();
		
		
	} catch (AppException $e) {
	   	
		showAppException( $e );
		
	}


} catch (Exception $e) {
   	
	echo 'ERROR FATAL: '.$e->getMessage().'<br>'.$e->getTraceAsString();
	
}


?>